package com.fenxiangtech.mall.dao;

import com.fenxiangtech.mall.entity.Banner;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author zhangjiashun
 */
@Mapper
@Repository
public interface BannerDao {

    /**
     * 根据id获取Banner
     * @param id
     * @return
     */
    Banner getBannerById(Long id);

}
